package ray;

import ray.math.*;
import ray.surface.*;

//Class to hold the intersections of ray and surface

public class Intersection {

	// Intersection point
	public final Point3 intersection = new Point3();
	
	// Normal to the surface at the intersection point
	public final Vector3 normal = new Vector3();
	
	//the distance at which the point intersected
	public double t = 0;
	
	//Surface that is intersected
	public Surface surface = null;

}
